package com.example.springcloud.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 景点信息对象 scenic_spots
 * 
 * @author helian
 * @date 2025-03-01
 */
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "景点信息对象")
@Data
public class ScenicSpots implements Serializable
{
    private static final long serialVerhesionUID = 1L;

    /** 景点id */
    @ApiModelProperty(value = "景点id")
    private Long scenicId;

    /** 景点名称 */
    @Excel(name = "景点名称")
    @ApiModelProperty(value = "景点名称")
    private String scenicName;

    /** 景点描述 */
    @Excel(name = "景点描述")
    @ApiModelProperty(value = "景点描述")
    private String scenicDescription;

    /** 景点图片 */
    @Excel(name = "景点图片")
    @ApiModelProperty(value = "景点图片")
    private String scenicImage;

    /** 景点地址 */
    @Excel(name = "景点地址")
    @ApiModelProperty(value = "景点地址")
    private String scenicAddress;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    /** 是否收藏（收藏为1 不收藏为0） */
    @Excel(name = "是否收藏（收藏为1 不收藏为0）")
    @ApiModelProperty(value = "是否收藏（收藏为1 不收藏为0）")
    private Integer like;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scenicId", getScenicId())
            .append("scenicName", getScenicName())
            .append("scenicDescription", getScenicDescription())
            .append("scenicImage", getScenicImage())
            .append("scenicAddress", getScenicAddress())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .toString();
    }
}
